<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>订单列表</title>
<meta name="keywords" content="">
<meta name="description" content="">

<link rel="shortcut icon" href="favicon.ico">
<link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">

<link href="css/plugins/jquery-confirm/jquery-confirm.min.css" rel="stylesheet">

<!-- 全局js -->
<script src="js/jquery.min.js?v=2.1.4"></script>
<script src="js/bootstrap.min.js?v=3.3.6"></script>
<script src="js/core.js"></script>
<body>
<!--
 &lt;!&ndash;Button trigger modal &ndash;&gt;
<button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#shippingModal">
    Launch demo modal
</button>-->

<!-- Modal -->
<div class="modal fade" id="shippingModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
     aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                    <span class="sr-only">Close</span>
                </button>
                <h4 class="modal-title" id="shipLabel">商品发货</h4>
            </div>
            <form class="form-horizontal" name="form" novalidate="" style="">
                <div class="modal-body">
                    <div style="padding: 10px 0px;">
                        <div style="padding:0px 10px;">
                            <table class="table order-list">
                                <thead>
                                <tr class="widget-list-header">
                                    <th>图片</th>
                                    <th width="200px">商品</th>
                                    <th>规格信息</th>
                                    <th>数量</th>
                                </tr>
                                </thead>
                                <tbody id="modalGoodsList" class="widget-list-item">
                                <!--       <tr class="content-row">
                                           <td><img style="width: 50px;height: 50px;" src=""></td>
                                           <td>
                                               <div style="width: 200px;"><a href="javascript:;">2.8g大熊手制
                                                   原叶普洱袋泡熟茶</a></div>
                                           </td>
                                           <td>绿色、20g</td>
                                           <td>1</td>
                                       </tr>-->
                                </tbody>
                            </table>
                        </div>
                        <div class="ng-scope" style="">
                            <div class="form-group ng-scope"><label class="col-sm-2 control-label">收货地址:</label>
                                <!--  <div class="col-sm-8 ng-binding" style="line-height: 30px;"><span id="modalReceiverInfo">江苏省 苏州市 张家港市 河西南路59号 , 大熊 ,
                                      18862661800</span>
                                  </div> -->
                                <div class="col-sm-8 ng-binding" style="line-height: 30px;"><span
                                        id="modalReceiverInfo">
                                <!--    江苏省 苏州市 张家港市 河西南路59号 , 大熊 ,
                                    18862661800-->
                                </span>
                                </div>
                            </div>
                            <div class="form-group ng-scope"><label
                                    class="col-sm-2 control-label">买家留言:</label>
                                <div class="col-sm-8 ng-binding" style="line-height: 30px;"><span
                                        id="modalLeavingMsg"></span></div>
                            </div>
                            <div class="form-group"><label class="col-sm-2 control-label">发货方式:</label>
                                <div class="col-sm-8">
                                    <div class="radio inline"><input type="radio"
                                                                     id="radio-1"
                                                                     class="deliveryRadio"
                                                                     name="deliveryRadio"
                                                                     value="1" checked> <label
                                            for="radio-1">需要物流</label></div>
                                    <div class="radio inline"><input type="radio" id="radio-2" name="deliveryRadio"
                                                                     class="deliveryRadio"
                                                                     deliveryInfo.type value="0">
                                        <label for="radio-2">无需物流</label></div>
                                </div>
                            </div>
                            <div id="isLogisticsShowDiv">
                                <div class="form-group ng-scope"><label
                                        class="col-sm-2 control-label">物流公司:</label>
                                    <div class="col-sm-8">
                                        <div>
                                            <!--快递公司编号-->
                                            <select id="modalDeliveryCom" name="" class="form-control"
                                                    style="width: 40%;">
                                                <option value="shunfeng">顺丰速递</option>
                                                <option value="shentong">申通快递</option>
                                                <option value="yuantong">圆通快递</option>
                                                <option value="zhongtong">中通速递</option>
                                                <option value="yunda">韵达速递</option>
                                                <option value="tiantian">天天快递</option>
                                                <option value="debangwuliu">德邦物流</option>
                                                <option value="quanfengkuaidi">全峰快递</option>
                                                <option value="huitongkuaidi">百世快递</option>
                                                <option value="rufengda">如风达快递</option>
                                                <option value="youzhengguonei">邮政小包</option>
                                                <option value="annengwuliu">安能物流(可能手查)</option>
                                                <option value="">其他物流</option>
                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <!-- ngIf: deliveryInfo.type == 0 -->
                                <div class="form-group ng-scope" ng-if="deliveryInfo.type == 0"><label
                                        class="col-sm-2 control-label">快递单号:</label>
                                    <div class="col-sm-8"><input id="modalDeliveryNum" style="width: 200px;" type="text"
                                                                 class="form-control input-sm">
                                    </div>
                                </div>

                            </div>
                            <div class="form-group ng-scope" ng-if="deliveryInfo.type == 0"><label
                                    class="col-sm-2 control-label">发货备注:</label>
                                <div class="col-sm-8"><textarea rows="2" id="merchantRemarks"
                                                                placeholder="如填写多商品不同物流信息 顺丰 xxx(快递单号) 中通 xxx(快递单号)"
                                                                style="width: 300px;" type="text"
                                                                class="form-control input-sm"></textarea>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" onclick="shipping()" data-dismiss="modal" class="btn btn-primary">确定</button>
                    <button type="button" onclick="cancelShipping()" class="btn btn-secondary" data-dismiss="modal">取消
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--<h2 style="text-align: center">订单列表</h2>-->
<div class="ibox-content">
    <form class="form-horizontal m-t" id="searchForm">
        <div class="form-group">
            <label class="col-sm-1 control-label">产品线：</label>
            <div class="col-sm-1">
                <select id="groupType" onchange="dosearch()" name="" class="form-control" >
                    <option value="">全部</option>
                    <option value="0">蜜哆哆</option>
                    <option value="1">蜜雅阁</option>
                </select>
            </div>
                <label class="col-sm-1 control-label">商品名：</label>
                <div class="col-sm-2">
                    <input id="searchGoodsName" type="text" class="form-control" placeholder="请输入商品名关键字">
                </div>
            <label class="col-sm-1 control-label">买家姓名：</label>
            <div class="col-sm-2">
                <input id="searchUsername" type="text" class="form-control" placeholder="请输入买家姓名">
            </div>
            <div class="col-sm-2">
                <button type="button" class="btn btn-primary" onclick="dosearch()">搜索</button>
                <button type="button" class="btn btn-default" onclick="resetting()">重置</button>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-1 control-label">订单状态：</label>
            <div class="col-sm-2">
                <select id="orderStatus" onchange="dosearch()" name="orderStatus" class="form-control">
                    <option value="">全部</option>
                    <option value="1">待付款</option>
                    <option value="2">未发货</option>
                    <option value="3">已发货</option>
                    <option value="99">已收货</option>
                    <option value="4">已评价</option>
                    <option value="5">待评价</option>
                    <option value="6">自动取消</option>
                    <option value="7">买家取消</option>
                    <option value="8">商家取消</option>
                    <option value="9">维权完成已退款</option>
                    <option value="10">退款中</option>
                </select>
            </div>
            <label class="col-sm-1 control-label">订单类型：</label>
            <div class="col-sm-2">
                <select id="orderType" onchange="dosearch()" name="orderType" class="form-control" >
                    <option value="">全部</option>
                    <option value="0">普通订单</option>
                    <option value="1">拼团订单</option>
                    <option value="2">试用众测订单</option>
                    <option value="3">今日特卖订单</option>
                </select>
            </div>
        </div>
    </form>
</div>
<div>
    <div>
        <div class="btn-group hidden-xs"  id="OrderListToolbar" role="group">
        </div>

        <table  id="order_list_table"
                data-toolbar="#OrderListToolbar"/>
    </div>
</div>


<!--bootstrap-table-->
<script src="js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
<script src="js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
<!--alert-beautify-->
<script src="js/plugins/jquery-confirm/jquery-confirm.min.js"></script>
<script src="js/alert-beautify.js"></script>

<script src="js/order_list.js"></script>


</body>

</html>